package com.lyy.weather.bean;
//这是单个小时的bean
//记得必要时要用List装载，24个小时的天气

public class WeatherHourly {
    //城市信息，用于判断这是哪里的天气
    private String locationId;
    //表中的id
    private int mid;


    //下面是从api中接收的信息//
    // **********************

    private String fxTime;
    //  预报时间
    private String temp;
    // 温度，默认单位：摄氏度
    private int icon;
    //  天气状况和图标的代码，图标可通过天气状况和图标下载
    private String text;
    // 天气状况的文字描述，包括阴晴雨雪等天气状态的描述
    private String wind360;
    //      风向360角度
    private String windDir;
    //      风向
    private String windScale;
    //     风力等级
    private String windSpeed;
    // 风速，公里/小时
    private String humidity;
    //  相对湿度，百分比数值
    private String precip;
    //  当前小时累计降水量，默认单位：毫米
    private String pressure;
    // 大气压强，默认单位：百帕
    private String cloud;
    // 云量，百分比数值。可能为空
    private String dew;
    // 露点温度。可能为空
    private String pop;
    //逐小时预报降水概率，百分比数值，可能为空


    @Override
    public String toString() {
        return "WeatherHourly{" +
                "locationId='" + locationId + '\'' +
                ", mid=" + mid +
                ", fxTime='" + fxTime + '\'' +
                ", temp=" + temp +
                ", icon=" + icon +
                ", text='" + text + '\'' +
                ", wind360=" + wind360 +
                ", windDir='" + windDir + '\'' +
                ", windScale=" + windScale +
                ", windSpeed=" + windSpeed +
                ", humidity=" + humidity +
                ", precip=" + precip +
                ", pressure=" + pressure +
                ", cloud=" + cloud +
                ", dew=" + dew +
                ", pop=" + pop +
                '}';
    }

    public String getLocationId() {
        return locationId;
    }

    public void setLocationId(String locationId) {
        this.locationId = locationId;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getFxTime() {
        return fxTime;
    }

    public void setFxTime(String fxTime) {
        this.fxTime = fxTime;
    }



    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }



    public String getWindDir() {
        return windDir;
    }

    public void setWindDir(String windDir) {
        this.windDir = windDir;
    }

    public String getWindScale() {
        return windScale;
    }

    public void setWindScale(String windScale) {
        this.windScale = windScale;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public String getWind360() {
        return wind360;
    }

    public void setWind360(String wind360) {
        this.wind360 = wind360;
    }

    public String getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(String windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getHumidity() {
        return humidity;
    }

    public void setHumidity(String humidity) {
        this.humidity = humidity;
    }

    public String getPrecip() {
        return precip;
    }

    public void setPrecip(String precip) {
        this.precip = precip;
    }

    public String getPressure() {
        return pressure;
    }

    public void setPressure(String pressure) {
        this.pressure = pressure;
    }

    public String getCloud() {
        return cloud;
    }

    public void setCloud(String cloud) {
        this.cloud = cloud;
    }

    public String getDew() {
        return dew;
    }

    public void setDew(String dew) {
        this.dew = dew;
    }

    public String getPop() {
        return pop;
    }

    public void setPop(String pop) {
        this.pop = pop;
    }
}
